package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallCartDao;
import com.appkubes.mall.core.entity.MallCart;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallCartService extends AbstractBaseService<BaseMallCartDao, MallCart> {

    MallCart getOneByEntity(MallCart entity);

    List<MallCart> selectListByEntity(MallCart entity);

    IPage<MallCart> selectPageByEntity(IPage<MallCart> page);
    IPage<MallCart> selectPageByEntity(PageVO pageVO);

    IPage<MallCart> selectPageByEntity(MallCart entity, IPage<MallCart> page);
    IPage<MallCart> selectPageByEntity(MallCart entity, PageVO pageVO);

    IPage<MallCart> selectPageByEntity(MallCart entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallCart entity);
}
